package com.example05.demo.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class ResultVO<T> {
    private Integer code;
    private String msg;
    private String description;
    private T data;
    public ResultVO(Integer code, T data) {
        this(code,"","",data);
    }
    public ResultVO(Integer code,String msg,T data){
        this(code,msg,"",data);
    }
}
